<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <title>{% block title %}{% endblock %}</title>
    
    <meta name="description" content="Notes, Tasks, Events management system - DevNote" />
    <meta name="keywords" content="note, task, event, management" />
    <meta name="author" content="Edmundas Matusevicius" />
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="styles/style.css">
    <script type="text/javascript" src="scripts/jQuery-1.4.2.js"></script>
    <script type="text/javascript" src="scripts/jquery.dajax.core.js"></script>
    <script type="text/javascript" src="scripts/queries.js"></script>
    {% block scripts %}{% endblock %}
    
    {% load dajaxice_templatetags %}
    {% dajaxice_js_import %}
</head>

<body onLoad="{% block load %}{% endblock %}">
    <div id="container">
        <div id="header">
            <a href="{% url app.views.home %}" id="hdr_home">DevNote</a>
            {% if auth_user %}
                <a href="{% url logout.views.user_logout %}" id="hdr_logout">Log Out</a>
            {% else %}
                <a href="{% url login.views.user_login %}" id="hdr_login">Log In</a>
                <a href="{% url signup.views.user_signup %}" id="hdr_signup">Sign Up</a>
            {% endif %}
        </div>
        <!-- END Header -->
        {% if auth_user %}
            <div id="navigation">
                <a href="{% url app.views.notes %}">Notes</a>
                <a href="">Tasks</a>
                <a href="">Events</a>
            </div>
            <!-- END Navigation -->
        {% endif %}
        <div id="content">
            {% block content %}{% endblock %}
        </div>
        <!-- END Content -->
        <div id="footer">
            <a href="" id="ftr_about">About</a>
            <a href="" id="ftr_help">Help</a>
        </div>
        <!-- END Footer -->
    </div>
    <!-- END Container -->
</body>
</html>
